import { Global, HttpModule, Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { PositionController } from './controller/position.controller';
import { PositionService } from './services/position.service';
import { FetchService } from './services/fetch.service';

@Global()
@Module({
  imports: [HttpModule],
  controllers: [PositionController],
  providers: [PositionService, FetchService],
  exports: [PositionService]
})
export class AddressModule { }